<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改文档')" />
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
    <form class="form-horizontal m" id="form-dept-edit" th:object="${document}">

        <input name="docId" type="hidden" th:field="*{docId}" />

        <div class="form-group">
            <label class="col-sm-3 control-label">文档审批编码：</label>
            <div class="col-sm-8">
                <input class="form-control" type="text" name="code" th:field="*{code}" id="deptName" required>
            </div>
        </div>


        
        <div class="form-group">
            <label class="col-sm-3 control-label">文档份数：</label>
            <div class="col-sm-8">
                <input class="form-control" type="text" name="docnum" th:field="*{docnum}">
            </div>
        </div>

        <div class="form-group">
            <label class="col-sm-3 control-label">详情：</label>
            <div class="col-sm-8">
                <textarea class="form-control" type="text" name="remark" th:field="*{remark}" id="remark" required/>
            </div>
        </div>

    </form>
</div>
<th:block th:include="include :: footer" />
<script type="text/javascript">
    var prefix = ctx + "cms/document";



    function submitHandler() {

            $.operate.save(prefix + "/edit", $('#form-dept-edit').serialize());

    }





</script>
</body>
</html>
